<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{$novel.Title}</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=0">
    <meta name="format-detection" content="telephone=no,email=no,address=no">
    <meta name="applicable-device" content="mobile">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-transform">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <link rel="stylesheet" type="text/css" href="__CSS__/chapter_m.css">

</head>
<body id="chapter" article-id="{$novel.PrimaryId}" chapter-id="{$novel.chapter.Sort}">
<div id="main" style="padding-bottom: 30px">
    <div class="content">
        <?php echo $novel['chapter']['content'];?>
    </div>
    <div class="pager">
        {neq name="$novel.pre_chapter" value=""}<a href="{:url('/api_v1/chapter_content/' . $novel['PrimaryId'] . '/' . get_offset_sort($novel.pre_chapter['Sort'],$novel['SourceList'],$novel.pre_chapter['Url']),'html',true)}" >上一章</a>{else/}<a href="javascript:void(0)" >暂无上一章</a>{/neq}
        <a href="javascript:ChapterList.postMessage('{$novel.PrimaryId}');" >目 录</a>
        {neq name="$novel.next_chapter" value=""}<a href="{:url('/api_v1/chapter_content/' . $novel['PrimaryId'] . '/' . get_offset_sort($novel.next_chapter['Sort'],$novel['SourceList'],$novel.next_chapter['Url']),'html',true)}">下一章</a>{else/}<a href="javascript:void(0)" >暂无下一章</a>{/neq}
    </div>
</div>

<script type="text/javascript" src="__JS__/chapter_m.js?v=0.1"></script>
<script>
  WebViewTitle.postMessage('{$novel.chapter.Title}');
  ShareUrl.postMessage("'" + window.document.location + "'");
</script>

</body>
</html>